package com.itheima.jicheng3;

public class Demo01 {
    public static void main(String[] args) {
        Zi zi = new Zi();
        Zi kun = new Zi("坤坤", 23);
    }
}

class Fu{
   private String name;

    public Fu() {
    }

    public Fu(String name) {
        this.name = name;
    }
}
class Zi extends Fu{
  private int age;

    public Zi() {
    }

    public Zi(String name, int age) {
        super(name);
        this.age = age;
    }
}
